package com.bkgy.modular.tbcalsubcoilyieldrate.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName("TB_CAL_SUB_COIL_YIELD_RATE")
/**
 * 连退出口卷到重卷的成材率
 */
public class TbCalSubCoilYieldRate implements Serializable {

    @ExcelProperty("连退入口卷号")
    @ColumnWidth(20)
    private String entid;

    @ExcelProperty("连退出口卷号")
    @ColumnWidth(20)
    private String extid;

    @ExcelProperty("钢种")
    @ColumnWidth(20)
    private String steel_grade;

    @ExcelProperty("连退入口厚度")
    @ColumnWidth(20)
    private Double entry_thick;

    @ExcelProperty("连退入口长度")
    @ColumnWidth(20)
    private Integer entry_length;

    @ExcelProperty("连退入口宽度")
    @ColumnWidth(20)
    private Integer entry_width;

    @ExcelProperty("连退入口重量")
    @ColumnWidth(20)
    private Integer entry_weight;

    @ExcelProperty("对应连退母卷第几卷")
    @ColumnWidth(20)
    private Integer sub_num;

    @ExcelProperty("重卷总重量")
    @ColumnWidth(20)
    private Integer total_re_weight;

    @ExcelProperty("连退子卷对应各重卷子卷的成材率")
    @ColumnWidth(20)
    private BigDecimal yield_rate;

    @ExcelProperty("连退出口长度")
    @ColumnWidth(20)
    private Integer ex_length;

    @ExcelProperty("连退出口宽度")
    @ColumnWidth(20)
    private Integer ex_width;

    @ExcelProperty("连退出口重量")
    @ColumnWidth(20)
    private Integer ex_weight;

    @ExcelProperty("连退出口计算重量")
    @ColumnWidth(20)
    private Integer weight_calc;

    @ExcelProperty("入口头部废料长度")
    @ColumnWidth(20)
    private Integer scrap_length_entry_head;

    @ExcelProperty("入口尾部废料长度")
    @ColumnWidth(20)
    private Integer scrap_length_entry_tail;

    @ExcelProperty("出口头部废料长度")
    @ColumnWidth(20)
    private Integer scrap_length_exit_head;

    @ExcelProperty("出口尾部废料长度")
    @ColumnWidth(20)
    private Integer scrap_length_exit_tail;

    @ExcelProperty("缺陷长度")
    @ColumnWidth(20)
    private Integer defect_length_total;

    @ExcelProperty("取样重量")
    @ColumnWidth(20)
    private Integer sample_weight;

    @ExcelProperty("头尾剪切重量")
    @ColumnWidth(20)
    private Integer headtail_cut_weight;

    @ExcelProperty("废料重量")
    @ColumnWidth(20)
    private Integer scrap_weight;

    @ExcelProperty("其他重量")
    @ColumnWidth(20)
    private Integer other_weight;

    @ExcelProperty("开始时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String begin_time;

    @ExcelProperty("结束时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String end_time;

    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String create_time;

    @ExcelProperty("重卷出口卷号1")
    @ColumnWidth(20)
    private String re1_coilno;
    private String re1_out_coilno;

    @ExcelProperty("重卷卷号1入口重量")
    @ColumnWidth(20)
    private Integer re1_enter_weight;

    @ExcelProperty("重卷卷号1出口长度")
    @ColumnWidth(20)
    private Integer re1_ex_length;

    @ExcelProperty("重卷卷号1出口宽度")
    @ColumnWidth(20)
    private Integer re1_ex_width;

    @ExcelProperty("重卷卷号1出口重量")
    @ColumnWidth(20)
    private Integer re1_ex_weight;

    @ExcelProperty("重卷卷号1头部废料重量")
    @ColumnWidth(20)
    private Integer re1_scrap_wt_head;

    @ExcelProperty("重卷卷号1尾部废料重量")
    @ColumnWidth(20)
    private Integer re1_scrap_wt_tail;

    @ExcelProperty("重卷卷号1废料重量")
    @ColumnWidth(20)
    private Integer re1_scrap_weight;

    @ExcelProperty("重卷卷号1切边标记")
    @ColumnWidth(20)
    private String re1_trim_flag;

    @ExcelProperty("重卷卷号1切边宽度")
    @ColumnWidth(20)
    private BigDecimal re1_trim_width;

    @ExcelProperty("重卷卷号1切边重量")
    @ColumnWidth(20)
    private Integer re1_trim_weight;

    @ExcelProperty("重卷卷号1其他重量")
    @ColumnWidth(20)
    private Integer re1_other_weight;

    @ExcelProperty("重卷卷号1开始时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String re1_begin_time;

    @ExcelProperty("重卷卷号1结束时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String re1_end_time;

    @ExcelProperty("重卷出口卷号2")
    @ColumnWidth(20)
    private String re2_coilno;
    private String re2_out_coilno;

    @ExcelProperty("重卷卷号2入口重量")
    @ColumnWidth(20)
    private Integer re2_enter_weight;

    @ExcelProperty("重卷卷号2出口长度")
    @ColumnWidth(20)
    private Integer re2_ex_length;

    @ExcelProperty("重卷卷号2出口宽度")
    @ColumnWidth(20)
    private Integer re2_ex_width;

    @ExcelProperty("重卷卷号2出口重量")
    @ColumnWidth(20)
    private Integer re2_ex_weight;

    @ExcelProperty("重卷卷号2头部废料重量")
    @ColumnWidth(20)
    private Integer re2_scrap_wt_head;

    @ExcelProperty("重卷卷号2尾部废料重量")
    @ColumnWidth(20)
    private Integer re2_scrap_wt_tail;

    @ExcelProperty("重卷卷号2废料重量")
    @ColumnWidth(20)
    private Integer re2_scrap_weight;

    @ExcelProperty("重卷卷号2切边标记")
    @ColumnWidth(20)
    private String re2_trim_flag;

    @ExcelProperty("重卷卷号2切边宽度")
    @ColumnWidth(20)
    private BigDecimal re2_trim_width;

    @ExcelProperty("重卷卷号2切边重量")
    @ColumnWidth(20)
    private Integer re2_trim_weight;

    @ExcelProperty("重卷卷号2其他重量")
    @ColumnWidth(20)
    private Integer re2_other_weight;

    @ExcelProperty("重卷卷号2开始时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String re2_begin_time;

    @ExcelProperty("重卷卷号2结束时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String re2_end_time;

    @ExcelProperty("重卷出口卷号3")
    @ColumnWidth(20)
    private String re3_coilno;
    private String re3_out_coilno;

    @ExcelProperty("重卷卷号3入口重量")
    @ColumnWidth(20)
    private Integer re3_enter_weight;

    @ExcelProperty("重卷卷号3出口长度")
    @ColumnWidth(20)
    private Integer re3_ex_length;

    @ExcelProperty("重卷卷号3出口宽度")
    @ColumnWidth(20)
    private Integer re3_ex_width;

    @ExcelProperty("重卷卷号3出口重量")
    @ColumnWidth(20)
    private Integer re3_ex_weight;

    @ExcelProperty("重卷卷号3头部废料重量")
    @ColumnWidth(20)
    private Integer re3_scrap_wt_head;

    @ExcelProperty("重卷卷号3尾部废料重量")
    @ColumnWidth(20)
    private Integer re3_scrap_wt_tail;

    @ExcelProperty("重卷卷号3废料重量")
    @ColumnWidth(20)
    private Integer re3_scrap_weight;

    @ExcelProperty("重卷卷号3切边标记")
    @ColumnWidth(20)
    private String re3_trim_flag;

    @ExcelProperty("重卷卷号3切边宽度")
    @ColumnWidth(20)
    private BigDecimal re3_trim_width;

    @ExcelProperty("重卷卷号3切边重量")
    @ColumnWidth(20)
    private Integer re3_trim_weight;

    @ExcelProperty("重卷卷号3其他重量")
    @ColumnWidth(20)
    private Integer re3_other_weight;

    @ExcelProperty("重卷卷号3开始时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String re3_begin_time;

    @ExcelProperty("重卷卷号3结束时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String re3_end_time;

    @ExcelProperty("重卷出口卷号4")
    @ColumnWidth(20)
    private String re4_coilno;
    private String re4_out_coilno;

    @ExcelProperty("重卷卷号4入口重量")
    @ColumnWidth(20)
    private Integer re4_enter_weight;

    @ExcelProperty("重卷卷号4出口长度")
    @ColumnWidth(20)
    private Integer re4_ex_length;

    @ExcelProperty("重卷卷号4出口宽度")
    @ColumnWidth(20)
    private Integer re4_ex_width;

    @ExcelProperty("重卷卷号4出口重量")
    @ColumnWidth(20)
    private Integer re4_ex_weight;

    @ExcelProperty("重卷卷号4头部废料重量")
    @ColumnWidth(20)
    private Integer re4_scrap_wt_head;

    @ExcelProperty("重卷卷号4尾部废料重量")
    @ColumnWidth(20)
    private Integer re4_scrap_wt_tail;

    @ExcelProperty("重卷卷号4废料重量")
    @ColumnWidth(20)
    private Integer re4_scrap_weight;

    @ExcelProperty("重卷卷号4切边标记")
    @ColumnWidth(20)
    private String re4_trim_flag;

    @ExcelProperty("重卷卷号4切边宽度")
    @ColumnWidth(20)
    private BigDecimal re4_trim_width;

    @ExcelProperty("重卷卷号4切边重量")
    @ColumnWidth(20)
    private Integer re4_trim_weight;

    @ExcelProperty("重卷卷号4其他重量")
    @ColumnWidth(20)
    private Integer re4_other_weight;

    @ExcelProperty("重卷卷号4开始时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String re4_begin_time;

    @ExcelProperty("重卷卷号4结束时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String re4_end_time;

    @ExcelProperty("重卷出口卷号5")
    @ColumnWidth(20)
    private String re5_coilno;
    private String re5_out_coilno;

    @ExcelProperty("重卷卷号5入口重量")
    @ColumnWidth(20)
    private Integer re5_enter_weight;

    @ExcelProperty("重卷卷号5出口长度")
    @ColumnWidth(20)
    private Integer re5_ex_length;

    @ExcelProperty("重卷卷号5出口宽度")
    @ColumnWidth(20)
    private Integer re5_ex_width;

    @ExcelProperty("重卷卷号5出口重量")
    @ColumnWidth(20)
    private Integer re5_ex_weight;

    @ExcelProperty("重卷卷号5头部废料重量")
    @ColumnWidth(20)
    private Integer re5_scrap_wt_head;

    @ExcelProperty("重卷卷号5尾部废料重量")
    @ColumnWidth(20)
    private Integer re5_scrap_wt_tail;

    @ExcelProperty("重卷卷号5废料重量")
    @ColumnWidth(20)
    private Integer re5_scrap_weight;

    @ExcelProperty("重卷卷号5切边标记")
    @ColumnWidth(20)
    private String re5_trim_flag;

    @ExcelProperty("重卷卷号5切边宽度")
    @ColumnWidth(20)
    private BigDecimal re5_trim_width;

    @ExcelProperty("重卷卷号5切边重量")
    @ColumnWidth(20)
    private Integer re5_trim_weight;

    @ExcelProperty("重卷卷号5其他重量")
    @ColumnWidth(20)
    private Integer re5_other_weight;

    @ExcelProperty("重卷卷号5开始时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String re5_begin_time;

    @ExcelProperty("重卷卷号5结束时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String re5_end_time;

    @ExcelProperty("连退母卷重卷后的最终成材率")
    @ColumnWidth(20)
    private BigDecimal recoiler_yield_rate;

    @ExcelProperty("连退母卷号")
    @ColumnWidth(20)
    private String cal_coil_id;

    @ExcelProperty("共有几卷重卷")
    @ColumnWidth(20)
    private Integer re_num;


    @ExcelProperty("连退母卷重卷后的最终成才率")
    @ColumnWidth(20)
    private Double yield_rate_re;
    private static final long serialVersionUID = 1L;

    //T2
    @ExcelProperty("连退子卷对应各重卷子卷的成材率")
    @ColumnWidth(20)
    private Double cal_yield_rate;

    //T3
    @ExcelProperty("平整机实际值超限米数")
    @ColumnWidth(5)
    private Integer alarm_times;
}